package com.xiaozhuai.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Api(value = "Hello类")
public class HelloController {

    @RequestMapping(value = "/hello")
    @ApiOperation(value = "hello接口")
    public String hello(){
        return "hello Controller!";
    }
}
